<?php
class Model_Video extends Zend_Db_Table_Abstract{
	protected $_name = "videos";
		
	function getRoles($video){
		$result 	= $this->find($video);
		$movie 		= $result->current();
		$lesRoles 	= $movie->findDependentRowset('Model_Role');
		return $lesRoles;
	}
	
	function getVideo($video){
		//return $this->find($video);
		$temp = $this->find($video);
		foreach($temp as $key=>$value){
			var_dump($value);
		}
	}
}